package com.domain.dto.role;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class ModifyRoleDTO {
    @NotNull(message = "角色编号不能为空")
    @Schema(description = "角色id", example = "1")
    private Integer roleId;

    @Schema(description = "角色名称", example = "xx管理员")
    private String roleName;

    @Schema(description = "角色描述", example = "这是一个xxx职位")
    private String description;
}
